export const orderStatus = {
  1: '待配送商审核',
  2: '待退货',
  3: '待配送商收货',
  4: '已完成',
  5: '已拒绝',
  6: '已撤消'
}
// 详情表单内容
export const baseInfoDic = [
  { key: 'returnCode', title: 'M平台退货订单编号' },
  { key: 'hospitalReturnCode', title: '医院退货订单编号' },
  { key: 'meiyougei', title: '采购订单编号', formatter: row => orderStatus[row.orderStatus] },
  { key: 'orderStatus', title: '订单状态' },
  { key: 'createdAt', title: ' 订单提交时间' },
  { key: 'deliveryName', title: '配送商' },
  { key: 'returnSpecCount', title: '品规数' },
  { key: 'detailedAddress', title: '退货地址' },
  { key: 'userName', title: '联系人' },
  { key: 'userPhone', title: '联系电话' },
  { key: 'remark', title: '退货原因' }
]
// 详情 -  表格
export const awaitHandleColumns = [
  { width: '40', prop: 'placeholder', fixed: 'left', type: 'expand' },
  { prop: 'deliveryProductCode', label: '医院产品编码', minWidth: 150 },
  { prop: 'deliveryProductName', label: '医院产品名称', minWidth: 150 },
  { prop: 'productType', label: '型号', minWidth: 100 },
  { prop: 'specification', label: '规格', minWidth: 100 },
  { prop: 'manufacturer', label: '生产厂家', minWidth: 150 },
  { prop: 'registrationNumber', label: '注册证号（或备案号）', minWidth: 170 },
  { prop: 'category', label: '产品大类', minWidth: 150 },
  { prop: 'returnNum', label: '退货数量', minWidth: 150 },
  { prop: 'sweepCount', label: '已扫码/待发货数量', minWidth: 150 },
  { prop: 'storageCondition', label: '储存条件', minWidth: 150 },
  { prop: 'provinceProductCode', label: '省平台产品编码', minWidth: 150 },
  { prop: 'receiveCode', label: 'M平台产品编码', minWidth: 150 },
  { prop: 'action', label: '操作', width: 150, fixed: 'right' }
]
// 收货 - 待收货产品表格
export const awaitHandleItemColumns = [
  { label: '序号', type: 'index', width: 80 },
  { prop: 'udi', label: 'UDI', minWidth: 150 },
  { prop: 'barCode', label: '主条码', minWidth: 150 },
  { prop: 'productBatch', label: '批号', minWidth: 150 },
  { prop: 'serialNumber', label: '序列号', minWidth: 150 },
  { prop: 'productDate', label: '生产日期', minWidth: 250 },
  { prop: 'expDate', label: '有效期', minWidth: 150 },
  { prop: 'num', label: '数量', minWidth: 150 },
  { prop: 'tiaomatupian', label: '条码图片', minWidth: 150 }
]
// 去收货-表头
export const dialogProductTableColumns = [
  { prop: 'hospitalProductCode', label: '医院产品编码', minWidth: 150 },
  { prop: 'hospitalProductName', label: '医院产品名称', minWidth: 150 },
  { prop: 'specification', label: '规格', minWidth: 150 },
  { prop: 'productType', label: '型号', minWidth: 150 },
  { prop: 'manufacturer', label: '生产厂家', minWidth: 150 },
  { prop: 'registrationNumber', label: '注册证号（或备案号）', minWidth: 250 },
  { prop: 'returnNum', label: '退货数量', minWidth: 150 },
  { prop: 'sweepCount', label: '已扫码/待收数量', minWidth: 150 },
  { prop: 'storageCondition', label: '储存条件', minWidth: 150 },
  { prop: 'provinceProductCode', label: '省平台产品编码', minWidth: 150 },
  { prop: 'entryNfumf', label: 'M平台产品编码', minWidth: 150 }
]
// 物品详情-表头
export const dialogGoodsTableColumns = [
  { label: '序号', type: 'index', width: 60 },
  { prop: 'udi', label: 'UDI', minWidth: 150 },
  { prop: 'barCode', label: '主条码', minWidth: 150 },
  { prop: 'productBatch', label: '批号', minWidth: 150 },
  { prop: 'productDate', label: '生产日期', minWidth: 150 },
  { prop: 'expDate', label: '有效期', minWidth: 150 },
  { prop: 'serialNumber', label: '序列号', minWidth: 150 },
  { prop: 'num', label: '数量/支', minWidth: 160 },
  { prop: 'action', label: '操作', width: 80, fixed: 'right' }
]
